<%@ page import="com.zzc.bean.Employee" %>
<%@ page import="java.util.List" %>
<%@ page import="com.zzc.bean.Techer" %>
<%@ page import="java.util.ArrayList" %>
<%@ page import="java.net.URLDecoder" %>
<%@ page import="java.net.URLEncoder" %>
<%@ page import="com.zzc.bean.Dining" %>
<%@ page import="com.zzc.bean.DiningReceipt" %>
<%--
  Created by IntelliJ IDEA.
  Employee: HP
  Date: 2017/11/7
  Time: 15:26
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Title</title>
</head>
<body>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<%
    Employee employee_alter = (Employee) request.getAttribute("employee_alter");
%>
<div align="center">
    <div align="right">
        <%
            Employee employee= (Employee) session.getAttribute("employee");
            request.setAttribute("employee_account",employee.getEmployee_account());
        %>
<%--        用户:<%=employee.getEmployee_name()%>--%>
    </div>
    <div align="center">
        <h2>Modificar las informaciones del usuario</h2>
        <form action="<%=path%>/Action/Action_EmployeeAction_alter" method="post">
            ID:<input type="text" name="employee_id" value="<%=employee_alter.getEmployee_id()%>" readonly="readonly"/><br/>
            Num. del usuario:<input type="text" name="employee_account" value="<%=employee_alter.getEmployee_account()%>" readonly="readonly"/><br/>
            Nom. del usuario:<input type="text" name="employee_name" value="<%=employee_alter.getEmployee_name()%>"/><br/>
            Contraseña:<input type="text" name="employee_password"  value="<%=employee_alter.getEmployee_password()%>"/><br/>
            Nom. de empresa:<input type="text" name="employee_company" value="<%=employee_alter.getEmployee_company()%>"/><br/>
            Notas:<input type="text" name="employee_note" value="<%=employee_alter.getEmployee_note()%>"/><br/>
            Creador:<input type="text" name="employee_founder" value="<%=employee_alter.getEmployee_founder()%>" readonly="readonly"/><br/>
            Editor:<input type="text" name="employee_modifier" value="<%=employee.getEmployee_name()%>" readonly="readonly"/><br/>
            <input type="submit" value="Entrega" />
        </form>
    </div>
</div>
</body>
</html>
